package com.aiyan.edu.service.learning.client.fallback;

import com.aiyan.edu.framework.domain.course.CoursePlanMediaPub;
import com.aiyan.edu.framework.model.response.CommonCode;
import com.aiyan.edu.framework.model.response.CommonResponseResult;
import com.aiyan.edu.service.learning.client.CourseEsSearchClient;
import com.aiyan.edu.service.learning.client.HelloSearchClient;
import org.springframework.stereotype.Component;

/**
 * @author: zqzhou
 * @create: 2019/11/25 21:44
 **/
@Component
public class HelloSearchClientFallback implements HelloSearchClient {

    @Override
    public String data(String id) {
        return "server error.";
    }
}
